/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.service;

import com.comac.ins.common.mybatis.core.page.TableDataInfo;
import com.comac.ins.isfd.domain.bo.DataRetrievalExectSearchBo;
import com.comac.ins.isfd.domain.bo.DataRetrievalHistoryBo;
import com.comac.ins.isfd.domain.bo.DataRetrievalViewBo;
import com.comac.ins.isfd.domain.bo.ModelDataDeleteBo;
import com.comac.ins.isfd.domain.vo.*;
import org.bson.Document;

import java.util.List;
import java.util.Map;

public interface IsfdDataRetrievalService {

    //检索首页数据统计
    public Long dataRetrievalCount();

    //条件检索
    public IsfdDataRetrievalListVo dataRetrievalSearch(DataRetrievalHistoryBo dataRetrievalHistoryBo);
    //关键字查询
    public IsfdDataRetrievalDataListVo dataRetrievalSearchWithKeyword(DataRetrievalHistoryBo dataRetrievalHistoryBo);
    //删除检索历史记录
    public Boolean dataRetrievalDeleteById(Long id);

    //删除模型数据
    public Boolean modelDatalDelete(ModelDataDeleteBo modelDataDeleteBo);

    //检索历史记录查询
    public List<DataRetrievalHistoryVo> dataRetrievalHistory();

    // 新增检索历史记录
    public Boolean dataRetrievalHisSave(DataRetrievalHistoryBo dataRetrievalHistoryBo);

    // 查询数据详情
    public Map<?,?> dataRetrievalView(DataRetrievalViewBo dataRetrievalViewBo);
    //数据检索精确匹配
    public List<IsfdDatabaseModelConfigVo> dataRetrievalSearchExact(DataRetrievalExectSearchBo dataRetrievalExectSearchBo);
    //根据历史记录查询数据
    public IsfdDataRetrievalListVo dataRetrievalSearchByHistory(Long id);
}
